package com.itpeng.service;

import com.itpeng.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * @Aythor:彭彦钦
 * @Data: 2020/9/23  20:53
 */
public interface OrderSettingService {
    /**
     * 批量设置预约人数
     * @param orderSettingList
     */
    void add(List<OrderSetting> orderSettingList);

    /**
     * 根据年月查询当月预约设置
     * @param month
     * @return
     */
    List<Map<String, Integer>> getOrderSettingByMonth(String month);

    void editNumberByDate(OrderSetting orderSetting);
}
